#!/bin/sh

if [ -z "$SRM_PATH" ]; then
    SRM_PATH="$(cd $(dirname $0)/../share/srm;pwd)"
fi

if [ ! -d "$SRM_PATH" ]; then
    echo "${SRM_PATH} is not a directory"
    exit 2
fi

export SRM_PATH

"${SRM_PATH}/lib/srm" -ls $*
